export class DummySDK {

    Login():Promise<any>{
        return new Promise<any>((resolve, reject) => {
            resolve();
        });
    }
    
    GetUserInfo():Promise<any>{
        return new Promise<any>((resolve, reject) => {
            resolve({"nickName": "test"});
        });
    }

    GetUserImage(url:string, sprite: cc.Sprite): void{
        cc.loader.loadRes("wxDummy/HelloWorld", cc.SpriteFrame, function(err, resource)
        {
            sprite.spriteFrame = resource;
        });
    }
}
